package com.yfp.goods.service.impl;

import com.yfp.goods.domain.ComboIsTag;
import com.yfp.goods.mapper.ComboIsTagMapper;
import com.yfp.goods.service.ComboIsTagService;
import org.springframework.stereotype.Service;
import jakarta.annotation.Resource;

import java.util.List;

/**
 * 套餐标签绑定表(ComboIsTag)表服务实现类
 *
 * 
 * @since 2023-12-27 14:54:13
 */
@Service("comboIsTagService")
public class ComboIsTagServiceImpl implements ComboIsTagService {
    @Resource
    private ComboIsTagMapper comboIsTagMapper;



    /**
     * 分页查询
     *
     * @param comboIsTag 筛选条件
     * @return 查询结果
     */
    @Override
    public List<ComboIsTag> queryByPage(ComboIsTag comboIsTag) {
        return this.comboIsTagMapper.queryAllByLimit(comboIsTag);
    }

    /**
     * 新增数据
     *
     * @param comboIsTag 实例对象
     * @return 实例对象
     */
    @Override
    public ComboIsTag insert(ComboIsTag comboIsTag) {
        this.comboIsTagMapper.insert(comboIsTag);
        return comboIsTag;
    }

}
